package com.main.accountpermissionsmanagement.application.service;

import com.main.accountpermissionsmanagement.domain.account.entity.Account;
import com.main.accountpermissionsmanagement.interfaces.dto.LoginDTO;
import com.main.common.base.resp.RespBody;

import java.util.List;

public interface AccountService {
    Account addAccount(Long userId, String name);
    RespBody<List<Account>> login(LoginDTO loginDTO);
}
